import 'package:flutter/material.dart';

class DefaultPage extends StatelessWidget {
  final String? label;

  DefaultPage({this.label});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("默认页面"),
      ),
      body: Center(
        child: Text(label == null ? "" : label!),
      ),
    );
  }
}
